package com.feng.boot.api.singleton;

/**
 * @author Lee
 */
public class Singleton3 {

    private static Singleton3 INSTANCE ;

    private Singleton3(){}

    static {
        INSTANCE = new Singleton3();
        // 这里可以写一些创建的逻辑
    }

    public static Singleton3 getInstance(){
        return INSTANCE;
    }

}
